package com.cn.kabalifeuser.ui.service.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/8.
 * function:
 */
public class IndexTypeListBean {


    /**
     * code : 200
     * result : [{"id":1,"title":"家政","pid":0,"sort":0,"status":1,"icon":"http://oss-fang.xiaoxiucai.xyz/","type":1,"money":"0.00","created_at":"2020-08-06 17:18:38","updated_at":"2020-08-25 11:43:57"},{"id":2,"title":"装修","pid":0,"sort":1,"status":1,"icon":"http://oss-fang.xiaoxiucai.xyz/good/1598326458BzjIRd.png","type":1,"money":"0.00","created_at":"2020-08-06 17:20:07","updated_at":"2020-08-25 11:44:09"}]
     * msg : ok
     */

    private int code;
    private String msg;
    private List<ResultBean> result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1
         * title : 家政
         * pid : 0
         * sort : 0
         * status : 1
         * icon : http://oss-fang.xiaoxiucai.xyz/
         * type : 1
         * money : 0.00
         * created_at : 2020-08-06 17:18:38
         * updated_at : 2020-08-25 11:43:57
         */

        private int id;
        private String title;
        private int pid;
        private int sort;
        private int status;
        private String icon;
        private int type;
        private String money;
        private String created_at;
        private String updated_at;
        private boolean isCheck=false;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }
    }
}
